package cn.edu.ctbu.dp01.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/student")
public class StudentController {

    @GetMapping("/list")
    public String list() {
        // 直接返回列表页面，数据通过AJAX加载
        return "student/list";
    }
}